package com.ruoyi.eqmonitor.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.eqmonitor.domain.OptDeviceMonitorConfig;
import org.apache.ibatis.annotations.Param;


/**
 * @author ruoyi
 * @date 2022-11-26
 */
public interface OptDeviceMonitorConfigMapper extends BaseMapper<OptDeviceMonitorConfig>{

    public List<OptDeviceMonitorConfig> selectOptDeviceMonitorConfigList(OptDeviceMonitorConfig optDeviceMonitorConfig);
    
    public OptDeviceMonitorConfig selectOptDeviceMonitorConfigById(Long id);

    OptDeviceMonitorConfig getByDeviceCode(@Param("deviceCode")String deviceCode, @Param("monitorCode")String monitorCode);

}
